home *** CD-ROM | disk | FTP | other *** search
/ Experimental BBS Explossion 3 / Experimental BBS Explossion III.iso / os2 / joe.zip / termcap < prev   
Text File  |  1993-11-03  |  5KB  |  164 lines

  1. ##############################################################################
  2. #
  3. # Joe's termcap file (modified by p.w.w for os/2 11/3/93)
  4. #
  5. # These expect that you're using some kind of handshaking (no padding info
  6. # is given).  Also JOE doesn't use the last column of the screen, so the
  7. # am/xn parameters can be wrong
  8. #
  9. # JOE understands these extensions to termcap:
  10. #
  11. # AL DL SF SR IC DC UP DO RI LE - parametized versions of normal termcap
  12. #                                 capabilities.  For example, AL inserts n
  13. #                                 lines and LE moves n positions left.
  14. #
  15. # rr                            - Flag which indicates that the cursor
  16. #                                 is restricted to scrolling region (cursor
  17. #                                 addressing is still screen relative, however).
  18. #
  19. # cb                            - Like cv, but goes to beginning of given
  20. #                                 line.
  21. #
  22. ##############################################################################
  23.  
  24. # The pre-ansi terminal
  25.  
  26. vt52|dec vt52:\
  27.     :co#80:li#24:\
  28.     :ho=\EH:cm=\EY%+ %+ :\
  29.     :up=\EA:nd=\EC:pt:bs:\
  30.     :cd=\EJ:ce=\EK:cl=\EH\EJ:\
  31.     :sr=\EI:\
  32.     :ku=\EA:kd=\EB:kr=\EC:kl=\ED:
  33.  
  34. ##############################################################################
  35. #
  36. # The "ANSI" family of terminals
  37. #
  38. ##############################################################################
  39.  
  40. # The capabilities in this entry are understood to be the least-common
  41. # denominator of what's called ANSI (except, of course, for the IBM PC, which
  42. # doesn't know what ESC [ J is).
  43.  
  44. ansi|Basic Ansi tty:\
  45.     :co#80:li#25:am:\
  46.     :ho=\E[H:cm=\E[%i%d;%dH:cb=\E[%i%dH:\
  47.     :up=\E[A:UP=\E[%dA:DO=\E[%dB:nd=\E[C:RI=\E[%dC:pt:bs:LE=\E[%dD:\
  48.     :cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
  49.     :so=\E[7m:se=\E[m:ms:us=\E[4m:ue=\E[m:\
  50.     :mb=\E[5m:md=\E[1m:mh=\E[2m:me=\E[m:\
  51.     :ku=\E[A:kd=\E[B:kl=\E[D:kr=\E[C:
  52.  
  53. mono|Basic Ansi tty:\
  54.     :co#80:li#25:am:\
  55.     :ho=\E[H:cm=\E[%i%d;%dH:cb=\E[%i%dH:\
  56.     :up=\E[A:UP=\E[%dA:DO=\E[%dB:nd=\E[C:RI=\E[%dC:pt:bs:LE=\E[%dD:\
  57.     :cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
  58.     :so=\E[7m:se=\E[m:ms:us=\E[4m:ue=\E[m:\
  59.     :mb=\E[5m:md=\E[1m:mh=\E[2m:me=\E[m:\
  60.     :ku=\E[A:kd=\E[B:kl=\E[D:kr=\E[C:
  61.  
  62. # Use for good implementations of non-DEC ansi.  Most PC UNIX consoles
  63. # look like this
  64.  
  65. fansi|Full Ansi tty (includes inserts and deletes):\
  66.     :al=\E[L:AL=\E[%dL:dl=\E[M:DL=\E[%dM:\
  67.     :ic=\E[@:IC=\E[%d@:dc=\E[P:DC=\E[%dP:\
  68.     :tc=ansi:
  69.  
  70. # Use for vt100-like ansi implementations
  71.  
  72. ansi100:Ansi tty with scrolling regions but no inserts or deletes:\
  73.     :li#24:\
  74.     :cs=\E[%i%d;%dr:sr=\EM:\
  75.     :tc=ansi:
  76.  
  77. # Advanced DEC-style ansi terminals.  Use for vt102s and above
  78.  
  79. decansi:Full DEC-style Ansi tty (scrolling regions/insert mode/deletes):\
  80.     :li#24:\
  81.     :cs=\E[%i%d;%dr:sr=\EM:\
  82.     :al=\E[L:AL=\E[%dL:dl=\E[M:DL=\E[%dM:\
  83.     :im=\E[4h:ei=\E[4l:mi:dc=\E[P:DC=\E[%dP:\
  84.     :tc=ansi:
  85.  
  86. ##############################################################################
  87. #
  88. # Derived "ANSI" terminals
  89. #
  90. ##############################################################################
  91.  
  92. #ansisys entry modified for os/2 by p.w.w 11/3/93
  93.  
  94. ansisys|IBM PC using ANSI.SYS:\
  95.         :cd@:ms@:pt@:cl=\E[H\E[2J:do=\E[B:\
  96.     :ku=\EH:kd=\EP:kl=\EK:kr=\EM:\
  97.     :kI=\ER:kD=\ES:kh=\EG:kH=\EO:kP=\EI:kN=\EQ:\
  98.     :k1=^@;:k2=^@<:k3=^@=:k4=^@>:k5=^@?:\
  99.     :k6=^@@:k7=^@A:k8=^@B:k9=^@C:k0=^@D:\
  100.         :tc=ansi:
  101.  
  102. nansisys|IBM PC using NANSI.SYS or ZANSI.SYS:\
  103.         :cd@:ms@:pt@:cl=\E[H\E[2J:do=\E[B:\
  104.     :ku=^@H:kd=^@P:kl=^@K:kr=^@M:\
  105.     :kI=^@R:kD=^@S:kh=^@G:kH=^@O:kP=^@I:kN=^@Q:\
  106.     :k1=^@;:k2=^@<:k3=^@=:k4=^@>:k5=^@?:\
  107.     :k6=^@@:k7=^@A:k8=^@B:k9=^@C:k0=^@D:\
  108.         :tc=fansi:
  109.  
  110. xenix:Xenix console:\
  111.     :bt=\E[Z:\
  112.     :kI=\E[L:kD=^?:kh=\E[H:kH=\E[F:kP=\E[I:kN=\E[G:\
  113.     :k1=\E[M:k2=\E[N:k3=\E[O:k4=\E[P:k5=\E[Q:\
  114.     :k6=\E[R:k7=\E[S:k8=\E[T:k9=\E[U:k0=\E[V:\
  115.     :tc=fansi:
  116.  
  117. linux:Linux console:\
  118.     :kI=\E[2~:kD=\E[3~:kh=\E[1~:kH=\E[4~:kP=\E[5~:kN=\E[6~:\
  119.     :k1=\E[[A:k2=\E[[B:k3=\E[[C:k4=\E[[D:k5=\E[[E:\
  120.     :k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:k10=\E[21~:\
  121.     :tc=fansi:
  122.  
  123. pt:Convergent Technologies PT booted from a miniframe:\
  124.     :li#26:ns:\
  125.     :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\EOT:\
  126.     :k6=\EOU:k7=\EOV:k8=\EOW:k9=\EOX:k0=\EOY:\
  127.     :tc=fansi:
  128.  
  129. ptem:Convergent Technologies PT using its own firmware:\
  130.     :li#26:rr:\
  131.     :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\EOT:\
  132.     :k6=\EOU:k7=\EOV:k8=\EOW:k9=\EOX:k0=\EOY:\
  133.     :tc=decansi:
  134.  
  135. xterm|X windows terminal emulator:\
  136.     :xn:\
  137.     :kb=\b:ks=\E=:ke=\E>:\
  138.     :k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:k5=\E[15~:\
  139.     :k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:k0=\E[21~:\
  140.     :kh=\E[8~:\
  141.     :tc=decansi:
  142.  
  143. vt100|DEC VT100:\
  144.     :li#24:\
  145.     :ks=\E\075:ke=\E\076:\
  146.     :kh=\E[H:\
  147.     :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
  148.     :tc=ansi100:
  149.  
  150. vt102|DEC VT102:\
  151.     :li#24:\
  152.     :ks=\E\075:ke=\E\076:\
  153.     :kh=\E[H:\
  154.     :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
  155.     :tc=decansi:
  156.  
  157. vt220|DEC VT220:\
  158.     :ke=\E>:ks=\E=:\
  159.     :kb=^?:\
  160.     :kI=\E[2~:kD=\E[3~:kh=\E[1~:kH=\E[4~:kP=\E[5~:kN=\E[6~:\
  161.     :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[17~:\
  162.     :k6=\E[18~:k7=\E[19~:k8=\E[20~:k9=\E[21~:k0=\E[29~:\
  163.     :tc=decansi:
  164.